package Twitim::API::RateLimitStatus;

use strict;
use warnings;

use base qw( Twitim::API );

sub _start {
    my ( $self, $output ) = @_;

    $self->_getfromapi( 'account/rate_limit_status', '.json' );
}

sub _last {
    my ( $self, $array_ref, $output, $api ) = @_;

    my $hourly_limit = $array_ref->{'hourly_limit'} || 70;
    $self->{'account_obj'}->{'hourly_limit'} = $hourly_limit;

    # print $self->{'account_obj'}->{'hourly_limit'}," limit\n";

}
1;
